package com.example.mode.factoryMode.factoryMethod;

import com.example.mode.factoryMode.Human;
import com.example.mode.factoryMode.simpleFactoryMode.WhiteHuman;

/**
 * Created with IntelliJ IDEA.
 * User: yf-wenhao
 * Date: 2019/3/26
 * Time: 下午5:45
 */
public class WhiteHumanFactory implements Factory {
    @Override
    public Human create() {
        return new WhiteHuman();
    }
}
